//
//  DataPickerView.h
//  PropertyManager
//
//  Created by 楠 on 2018/10/21.
//  Copyright © 2018年 Tng. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^sendChooseDate)(NSDate * date);

@interface DataPickerView : UIView

@property (nonatomic,strong) UIView * bgView;
@property (strong, nonatomic) UIDatePicker * datePicker;

@property (nonatomic,strong) UIButton * cancleBtn;
@property (nonatomic,strong) UIButton * sureBtn;

@property (nonatomic,copy) sendChooseDate sendChooseDateBlock;

+(instancetype)shareView;
-(void)showView;
-(void)hiddenView;

@end

NS_ASSUME_NONNULL_END
